package com.company.cloud.behavior.modules.api.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class BehaviorSearchListParam {

    @ApiModelProperty(value = "用户ID")
    private Integer userId;

    @ApiModelProperty(value = "对象分类", required = true)
    @NotEmpty(message = "对象分类不能为空")
    private String objType;

    @ApiModelProperty(value = "对象编号", required = true)
    @NotNull(message = "对象编号不能为空")
    private List<String> objNo;

    //todo:???
    @ApiModelProperty(value = "获取BehaviorUser对象的数量, 为空时获取全部数量")
    private Integer userTop;

}
